<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>
 
 
<s:form id="add_pubTemplate_form" name="add_pubTemplate_form" method="post" action="pubTemplate/save.do" enctype="multipart/form-data" onsubmit="return false;">
	<table class="form-table">
		<tr>
			<th width="150">标题：</th>
			<td>
				<s:textfield key="name" title="请输入标题" cssClass="form-txtinput" id="name" maxlength="20" value="%{model.name}" checkEmpty="true" checkDesc="标题"/>
			</td>
		</tr>
		<tr>
			<th width="150">主题：</th>
			<td>
				<mytag:select id="zt" title="请输入主题" name="zt" sql="basedata" isSql="false" condition="64" dataType="Long" listKey="id" listValue="name" headerKey="" headerValue="请选择" onChange="Ext.milan.pagejs.page_pubTemplate.changeJl(this)" checkEmpty="true" checkDesc="主题"/>
			</td>
		</tr>
		<tr>
			<th width="150">类别：</th>
			<td>
				<select  title="请输入类别" id="lb" name="lb" checkEmpty="true" checkDesc="类别"></select>
			</td>
		</tr>
		<tr>
			<th width="150">附件：</th>
			<td>
				<input name="attachFile" type="file" contenteditable="false" id="attachfile" size="40">&nbsp;附件最大不能超过20.00M
			</td>
		</tr>
		<tr>
			<th width="150">备注：</th>
			<td>
				<s:textarea  title="请输入备注" rows="4" name="memo" style="width:400px;" maxlength="300" value="%{model.memo}"></s:textarea>
			</td>
		</tr>
	</table>
	<div class="win-btn-panel">
	    <a class="btn_short" class="btn_short" href="javascript:void(0)" 
			onclick="Ext.milan.pagejs.page_pubTemplate.save('add_pubTemplate_form')">确 定</a>
		<a class="btn_short" class="btn_short" href="javascript:void(0)" 
			onclick="Ext.milan.pagejs.page_pubTemplate.closeWin(false);">取 消</a>
	</div>
</s:form>

